How can I declare a variable inside a loop while the name which I declare
depends on a counter?
I'd like to generate 100 clock variables (clockX1 to clockX100). To do this, I
hoped to use something like
#declare concat("clockX",str(SomeCounter))=...
How can I tell POVRay to use the actual value of a variable/function instead of
the variable name?
In other words not to assign
#declare Mystring=...
but to declare a new variable named by the value of Mystring.
I guess it's a simple thing (like using the $variable in IGOR) but I couldn't
find it in the help/support.
Post a reply to this message
|